import request from "@/utils/request"

export function dictSelect (obj) {
  return request({
    // url: '/udict/findBydicttype/' + zdb,
    url: "/dict/select",
    method: "post",
    data: obj
  })
}

export function dictAdd (url, obj) {
  return request({
    url: "/dict/" + url,
    method: "post",
    data: obj
  })
}

export function dictDel (ids) {
  return request({
    url: "/dict/delete",
    method: "post",
    data: ids
  })
}
export function hdztDict (obj) {
  return request({
    url: "/zhgrxx/selectXxztDict",
    method: "post",
    data: obj
  })
}


export function selectDictionaryByType (obj) {
  return request({
    url: "/dictionary/selectDictionaryByType",
    method: "get",
    params: obj
  })
}

